Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

1.1K
Visualizações
CocoaPods could not find compatible versions for pod "lottie-ios"

i can't install react-native-lottie throwing error compatatible version for lottie-react-native CocoaPods could not find compatible versions for pod "lottie-ios"

over 4 years ago · Santiago Trujillo
4 Respostas
Responde à pergunta

0

as per the error says we need to go for

npm i lottie-ios@3.1.8 lottie-react-native@3.5.0 cd ios Pod install

issue Resolved

over 4 years ago · Santiago Trujillo Relatório

0

If you get something like this,

[!] CocoaPods could not find compatible versions for pod "lottie-ios":
  In Podfile:
    lottie-ios (from `../node_modules/lottie-ios`)

    lottie-react-native (from `../node_modules/lottie-react-native`) was resolved to 3.5.0, which depends on
      lottie-ios (~> 3.1.8)

Then we can resolve it by the following steps,

  • Open terminal in root folder of your react native project.

  • Execute the following commands to install lottie-ios and lottie-react-native packages with the specified version of the cocoa pod error.

    npm install lottie-ios@3.1.8 
    npm install lottie-react-native@3.5.0
    
  • After these package addition move to ios folder and run pod install.

    cd ios
    pod install
    
over 4 years ago · Santiago Trujillo Relatório

0

You need to upgrade your platform :ios version in your PODFILE

In my case,I changed platform :ios from 10 to 11, and everything worked well

over 4 years ago · Santiago Trujillo Relatório

0

Solved this issue by uninstalling the previous installed Lottie version and then

1- yarn add lottie-react-native@4.0.3
2- yarn add lottie-ios@3.2.3
over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda